<h1>Dashboard</h1>

<table class="table">
	<tr>
		<th>ID</th>
		<th>Cahi ID</th>
		<th>Status</th>
		<th>Name of Estate</th>
		<th>Property Description</th>
		<th>Contact</th>
		<th></th>
		<th></th>
		<th></th>
	</tr>

	<?php foreach($models as $model): ?>
		<tr>
			<td><?php echo $model->id; ?></td>
			<td><?php echo $model->cahiID; ?></td>
			<td><?php echo $model->status; ?></td>
			<td><?php echo $model->nameOfEstate; ?></td>
			<td><?php echo $model->propertyDescription; ?></td>
			<td><?php echo $model->contactPerson; ?></td>
			<td><a href="<?php echo Yii::app()->request->baseUrl; ?>/tbauctionitem/view/<?php echo $model->id; ?>">View</a></td>
			<td><a href="<?php echo Yii::app()->request->baseUrl; ?>/tbauctionitem/create2?aid=<?php echo $model->id; ?>">Prop Inspection</a></td>
			<td><a href="<?php echo Yii::app()->request->baseUrl; ?>/tbauctionitem/uploadimage?id=<?php echo $model->id; ?>">Add Photo</a></td>
		</tr>
	<?php endforeach; ?>
</table>